Skip to content

feat(ssr): backport ssr.resolve.conditions and ssr.resolve.externalConditions (#14498)#14668

Merged
patak-dev merged 1 commit intov4from
feat/port-14498
Oct 18, 2023
Merged

feat(ssr): backport ssr.resolve.conditions and ssr.resolve.externalConditions (#14498)#14668
patak-dev merged 1 commit intov4from
feat/port-14498

Conversation

@patak-dev
Copy link
Member

Description

Backport #14498 to v4. We can discuss here if we should move forward with it. We can release it under a v4 minor if we merge it. A few downstream projects awaiting this feature: #14498 (comment)


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@patak-dev patak-dev requested review from bluwy and sapphi-red October 17, 2023 08:07
root,
isProduction: false,
isBuild: true,
conditions: targetConditions,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line can be thought as a breaking change (previously resolve.conditions were used, but now ssr.resolve.externalConditions will be used). But I guess it wouldn't cause any problems.

@patak-dev patak-dev merged commit 520139c into v4 Oct 18, 2023
@patak-dev patak-dev deleted the feat/port-14498 branch October 18, 2023 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants